package com.example.oj_springboot.api;

import com.example.oj_springboot.model.CompileRequest;
import com.example.oj_springboot.model.CompileResponse;
import org.springframework.web.bind.annotation.*;

@RequestMapping
public interface CompileRest {
    @RequestMapping(value = "/compile", method = RequestMethod.POST)
    CompileResponse compile(@RequestBody CompileRequest compileRequest) throws Exception;
}